home *** CD-ROM | disk | FTP | other *** search
/ Magnum One / Magnum One (Mid-American Digital) (Disc Manufacturing).iso / d1 / megabyte.arc / JRAM704K.DOC < prev    next >
Text File  |  1987-12-11  |  4KB  |  95 lines

  1.  
  2.          HOW TO USE 704K WITH JDRIVE & JSPOOL
  3.  
  4. First let's see why we can't use 704k now. The last 64k of 704k has
  5. addresses of A0000-AFFFF. The first digit of all the addresses is
  6. "A" so we refer to it as page A or PAGE 10. Jspool needs a page to use
  7. for BANK SELECTING. This scheme allows JRAM memory to appear 64k
  8. at a time in unused addresses of the 8088's address space. JSPOOL uses
  9. page 10 (A0000-AFFFF) for bank selecting when the spool buffer is
  10. allocated on the ram disk created by JDRIVE. JDRIVE uses other page(s)
  11. for bank selecting.
  12.  
  13. If we look at the source code (the JSPOOL.ASM file) supplied by TALL
  14. TREE (thanks - everyone should supply source!!) we see at about line
  15. number 235 (in my version, your's may vary a little) the following:
  16.  
  17. ;---JETDRIVE and FILE and INIT values
  18. swapbank        db 0ah  ;used by init (0A typ)
  19.  
  20. This statement defines the page used by JSPOOL for bank selecting.
  21. This also creates a problem, the last page of DOS will be at
  22. the same location, so now we know the problem. The solution is to tell
  23. JSPOOL to go somewhere else, but where & how? First where: a look at
  24. the IBM TECHNICAL REFERENCE fo the IBM PC/XT reveals some good info.
  25. page 11 (B0000-BFFFF) is used for monitor boards, page 12 (C0000-CFFFF)
  26. is used for hard disk controllers rom, but 13 (D0000-DFFFF) and 14
  27. (E0000-EFFFF) are reserved. If you don't have a hard disk page 12 (C)
  28. should be ok, but if you do try page 13 (D) or 14 (E). If you don't
  29. have some unusual hardware, you should be ok. Let's say we pick page
  30. 14 (E) - now what ?
  31.  
  32. Since TALL TREE has supplied us the source we can just change a backup
  33. copy (none of us are dumb enough to alter the original - right!!)
  34. to look like the following:
  35.  
  36. ;---JETDRIVE and FILE and INIT values
  37. swapbank        db 0eh  ;used by init (0A typ) PAGE CHANGED !!
  38.  
  39. Re-ASSEMBLE, LINK & EXE2BIN to produce an updated copy. Replace
  40. JSPOOL.BIN on your system disk and you're almost ready to go.
  41.  
  42. For those without an assembler you probably can use debug to update
  43. a copy of JSPOOL.BIN as follows:
  44.  
  45. debug jspool.bin
  46. -d 1a0 l10                    ; dump at +A0 (remember debug adds the PSP
  47.                                 for 256 [100H] bytes
  48. XXXX:01A0 00 00 00 00 00 00 00-00 00 0A 00 00 00 00 00  ................
  49. e 1aa 0e
  50. w
  51. Writing 1B67 bytes
  52. q
  53.  
  54. Now we have changed the executable code just like a reassembly would.
  55. This works for all the versions I have. Yours could be different, so
  56. try the source change if you can. If you don't see the 0A at 1AA
  57. you probably have to change somewhere else, but the 0A may be all
  58. by itself and recognizable.
  59.  
  60. Now we have JSPOOL.BIN taken care of so everything's ok - right?
  61. Well almost. JDRIVE is also bank selecting and we may be conflicting
  62. with it - so what do we do ? JBOOT has a command line parameter to
  63. prevent selecting on specific pages, the "X=nn" parm. All we have to
  64. do is tell him not to use the page we just selected (14 or E) as
  65. follows:
  66.  
  67. DEVICE=JBOOT.BIN 704K/F X=12
  68.  
  69. Now JSPOOL seems happy - he doesn't clobber DOS and JDRIVE stays
  70. away from JSPOOL's new page. Now use MAKEFILE and you can carve
  71. your spool buffer out of your ram disk and still enjoy 704k in DOS.
  72.  
  73. This all seems to work fine for me. I've been using it for some time
  74. with no problems, but as with all modifications TEST IT WITH YOUR
  75. HARDWARE AND SOFTWARE. If it breaks when you do this - DON'T DO THIS.
  76. I have no way to test every combination of software and hardware on
  77. the market and can't be responsible if some combinations don't work.
  78.  
  79. This is easy, logical and seems to work. Try it, and if it doesn't
  80. work I'd like to hear from you. I MAY be able to help. No warranty
  81. just best efforts.
  82.  
  83. I'd like to thank TALL TREE for what I personally consider one of the
  84. best, most reasonably priced hardware/software combinations on the
  85. market. They deserve praise for supplying the source code to allow
  86. easy custom configurations and education. When I want LOTUS/INTEL
  87. compatiblity, I'll get JRAM III.
  88.  
  89. Don Gentry
  90. 183 Bellegrove Circle
  91. Brandon, MS  39042
  92.  
  93. 601 992 0577
  94.  
  95.